package com.rongxue.service;

import com.rongxue.pojo.MobileCode;
import com.rongxue.pojo.ObjectResult;
import com.rongxue.pojo.XMLBean;

import java.text.ParseException;
import java.util.Map;

/**
 * Created by yangweijian on 2018/1/15.
 */
public interface MobileCodeService {
    //根据手机查验证码
    MobileCode selectCodeByMobile(String mobile);
    //添加短信记录
    void insertMobileCode(Map<String,Object> map);
    //短信验证码
    ObjectResult sms_code(XMLBean xmlBean, String ip) throws ParseException, Exception;

}
